package cn.yanghan.org.query;

import lombok.Data;

@Data
public class DepartmentQuery {

    private Integer currentPage=1;
    private Integer pageSize=10;


    public Integer getStart(){
        return (this.currentPage-1)*this.pageSize;

    }


    private String keywords;
    private Integer state;

}
